package org.bjf.springboot.exception;

/**
 * 业务错误码定义
 */
public enum BizMsgCode implements MsgCode {

  SIGN(20001, "签名错误"),
  TEST(20003, "你就是个错误");

  private int code;
  private String message;

  BizMsgCode(int code, String message) {
    this.code = code;
    this.message = message;
  }

  @Override
  public int getCode() {
    return code;
  }

  @Override
  public String getMessage() {
    return message;
  }
}
